<div class="pageContent">
	<form method="post" action="__URL__/update/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="id" value="{$vo.id}" />
		<div class="pageFormContent" layoutH="58">
		<div class="unit">
				<label>单位名称：</label>
				<input type="text" size="30"  name="comname" value="{$vo.comname}" />
			</div>
            <div class="unit">
				<label>单位代码：</label>
				<input type="text" size="30"  name="compcode" value="{$vo.compcode}" />
			</div>
            <div class="unit">
				<label>单位类型</label>
				<select name="contatype">
					<option <eq name="vo.contatype" value="1" >selected</eq> value="1">客户</option>
					<option <eq name="vo.contatype" value="2" >selected</eq> value="2">供货商</option>
                    <option <eq name="vo.contatype" value="3" >selected</eq> value="3">其他</option>
				</select>
			</div>
            <div class="unit">
				<label>联系人：</label>
				<input type="text" size="30"  name="contname" value="{$vo.contname}" />
			</div>
            <div class="unit">
				<label>税号：</label>
				<input type="text" size="30"  name="taxnumber" value="{$vo.taxnumber}" />
			</div>
            <div class="unit">
				<label>传真：</label>
				<input type="text" size="30"  name="faxnumber" value="{$vo.faxnumber}" />
			</div>
            <div class="unit">
				<label>联系电话：</label>
				<input type="text" size="30"  name="phone" value="{$vo.phone}" />
			</div>
            <div class="unit">
				<label>移动电话：</label>
				<input type="text" size="30"  name="mobile" value="{$vo.mobile}" />
			</div>
			<div class="unit">
				<label>电子邮件：</label>
				<input type="text" name="email" size="30" value="{$vo.email}" class="required email"/>
			</div>
            <div class="unit">
				<label>QQ/MSN：</label>
				<input type="text" size="50" name="qqmsn" value="{$vo.qqmsn}" />
			</div>
            <div class="unit">
				<label>银行账户：</label>
				<input type="text" size="60" name="bankinfo" value="{$vo.bankinfo}" />
			</div>
            <div class="unit">
				<label>单位地址：</label>
				<input type="text" size="50" name="address" value="{$vo.address}" />
			</div>
			<div class="unit">
				<label>启用状态：</label>
				<select name="status">
					<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
					<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
				</select>
			</div>
			<div class="unit">
				<label>业务范围：</label>
				<textarea name="bisinfo" rows="3" cols="57"></textarea>
			</div>
			<div class="unit">
				<label>单位备注：</label>
				<textarea name="remarks" rows="3" cols="57">{$vo.remarks}</textarea>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">确认保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消返回</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

